
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.ExceptionType;
import cn.edu.scau.cmi.hombio.domain.Inspection;
import cn.edu.scau.cmi.hombio.domain.InspectionException;
import cn.edu.scau.cmi.hombio.domain.Pigsty;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for InspectionException entities
 * 
 */
public interface InspectionExceptionService {

	/**
	 */
	public InspectionException findInspectionExceptionByPrimaryKey(Integer id);

	/**
	* Delete an existing ExceptionType entity
	* 
	 */
	public InspectionException deleteInspectionExceptionExceptionType(Integer inspectionexception_id, Integer related_exceptiontype_id);

	/**
	* Save an existing Inspection entity
	* 
	 */
	public InspectionException saveInspectionExceptionInspection(Integer id_1, Inspection related_inspection);

	/**
	* Save an existing ExceptionType entity
	* 
	 */
	public InspectionException saveInspectionExceptionExceptionType(Integer id_2, ExceptionType related_exceptiontype);

	/**
	* Delete an existing Pigsty entity
	* 
	 */
	public InspectionException deleteInspectionExceptionPigsty(Integer inspectionexception_id_1, Integer related_pigsty_id);

	/**
	* Save an existing Pigsty entity
	* 
	 */
	public InspectionException saveInspectionExceptionPigsty(Integer id_3, Pigsty related_pigsty);

	/**
	* Load an existing InspectionException entity
	* 
	 */
	public Set<InspectionException> loadInspectionExceptions();

	/**
	* Delete an existing InspectionException entity
	* 
	 */
	public void deleteInspectionException(InspectionException inspectionexception);

	/**
	* Delete an existing Inspection entity
	* 
	 */
	public InspectionException deleteInspectionExceptionInspection(Integer inspectionexception_id_2, Integer related_inspection_id);

	/**
	* Return a count of all InspectionException entity
	* 
	 */
	public Integer countInspectionExceptions();

	/**
	* Return all InspectionException entity
	* 
	 */
	public List<InspectionException> findAllInspectionExceptions(Integer startResult, Integer maxRows);

	/**
	* Save an existing InspectionException entity
	* 
	 */
	public void saveInspectionException(InspectionException inspectionexception_1);
}